﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DailyApp.WebAPI.DataModel
{
    [Table("WaitInfos")]
    public class WaitInfo
    {
        [Key]
        public int WaitId { get; set; }//Id

        public string Title { get; set; }//标题

        public string? Content { get; set; }//内容

        /// <summary>
        /// 约定 0--待办 1--已完成
        /// </summary>
        public int Status { get; set; }//状态

        public string? RecordedDate { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");//记录日期
    }
}
